package com.guanyu.u2cache.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author : zgy
 * @description :缓存类型
 * @date: 2023/10/29  11:47
 */
@AllArgsConstructor
public enum CacheType {
    LEVEL1CACHE("localCache", "本地缓存"),

    LEVEL2CACHE("remoteCache", "远程缓存"),

    LEVEL1TO2("localRemoteCache", "本地远程缓存");

    @Getter
    private String name;
    @Getter
    private String description;

}